function translateNum(num: number): number {
    const src = num.toString();
    let p = 0;
    const dp = new Array(src.length + 1);
    dp[0] = 1;
    dp[1] = 1;
    for (let i = 2; i < src.length + 1; i++) {
        const tmp = Number(src[i - 2] + src[i - 1]);
        if (tmp >= 10 && tmp <= 25) {
            dp[i] = dp[i - 1] + dp[i - 2];
        } else {
            dp[i] = dp[i - 1]
        }
    }
    return dp[src.length];
};
